/* src/layouts/BasicLayout.less */

.basic-layout {
  height: 100vh;

  .logo {
    height: 32px;
    margin: 16px;
    display: flex;
    align-items: center;
    img {
      width: 32px;
      height: 32px;
    }
    span {
      color: #fff;
      font-size: 18px;
      margin-left: 8px;
    }
  }

  .site-layout {
    display: flex;
    flex-direction: column;
    .site-layout-header {
      background: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 24px;
      box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);

      .header-right {
        margin-right: 16px;
      }

      .header-avatar {
        cursor: pointer;
        display: flex;
        align-items: center;
      }
    }

    .site-layout-content {
      margin: 24px 16px;
      padding: 24px;
      background: #fff;
      flex: 1; /* 让内容区撑满剩余高度 */
      overflow-y: auto;
    }
  }
}
